home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 63 6f 6d 70 75 |Path: ne|ws.compu|
|00000010| 74 65 6b 2e 6e 65 74 21 | 6e 65 77 73 0a 46 72 6f |tek.net!|news.Fro|
|00000020| 6d 3a 20 47 72 65 67 20 | 45 61 74 6f 6e 20 3c 67 |m: Greg |Eaton <g|
|00000030| 65 61 74 6f 6e 40 63 6f | 6d 70 75 74 65 6b 2e 6e |eaton@co|mputek.n|
|00000040| 65 74 3e 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |et>.News|groups: |
|00000050| 63 6f 6d 70 2e 6c 61 6e | 67 2e 63 2b 2b 0a 53 75 |comp.lan|g.c++.Su|
|00000060| 62 6a 65 63 74 3a 20 52 | 65 3a 20 42 65 67 69 6e |bject: R|e: Begin|
|00000070| 6e 65 72 3a 20 48 6f 77 | 20 74 6f 20 23 69 6e 63 |ner: How| to #inc|
|00000080| 6c 75 64 65 0a 44 61 74 | 65 3a 20 54 68 75 2c 20 |lude.Dat|e: Thu, |
|00000090| 30 31 20 46 65 62 20 31 | 39 39 36 20 31 38 3a 34 |01 Feb 1|996 18:4|
|000000a0| 35 3a 31 30 20 2d 30 36 | 30 30 0a 4f 72 67 61 6e |5:10 -06|00.Organ|
|000000b0| 69 7a 61 74 69 6f 6e 3a | 20 48 61 6c 66 2d 45 61 |ization:| Half-Ea|
|000000c0| 74 6f 6e 20 45 6e 74 65 | 72 70 72 69 73 65 73 0a |ton Ente|rprises.|
|000000d0| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 33 31 31 |Message-|ID: <311|
|000000e0| 31 35 45 39 36 2e 37 33 | 44 43 40 63 6f 6d 70 75 |15E96.73|DC@compu|
|000000f0| 74 65 6b 2e 6e 65 74 3e | 0a 52 65 66 65 72 65 6e |tek.net>|.Referen|
|00000100| 63 65 73 3a 20 3c 77 65 | 73 74 2e 33 32 2e 30 30 |ces: <we|st.32.00|
|00000110| 38 41 43 38 43 30 40 65 | 6d 74 2e 65 2d 74 65 63 |8AC8C0@e|mt.e-tec|
|00000120| 68 6e 69 6b 2e 74 75 2d | 6d 75 65 6e 63 68 65 6e |hnik.tu-|muenchen|
|00000130| 2e 64 65 3e 20 3c 30 30 | 30 30 31 61 38 31 2b 30 |.de> <00|001a81+0|
|00000140| 30 30 30 39 37 33 61 40 | 6d 73 6e 2e 63 6f 6d 3e |000973a@|msn.com>|
|00000150| 0a 52 65 70 6c 79 2d 54 | 6f 3a 20 67 65 61 74 6f |.Reply-T|o: geato|
|00000160| 6e 40 63 6f 6d 70 75 74 | 65 6b 2e 6e 65 74 0a 4e |n@comput|ek.net.N|
|00000170| 4e 54 50 2d 50 6f 73 74 | 69 6e 67 2d 48 6f 73 74 |NTP-Post|ing-Host|
|00000180| 3a 20 64 65 6e 33 37 32 | 2e 63 6f 6d 70 75 74 65 |: den372|.compute|
|00000190| 6b 2e 6e 65 74 0a 4d 69 | 6d 65 2d 56 65 72 73 69 |k.net.Mi|me-Versi|
|000001a0| 6f 6e 3a 20 31 2e 30 0a | 43 6f 6e 74 65 6e 74 2d |on: 1.0.|Content-|
|000001b0| 54 79 70 65 3a 20 74 65 | 78 74 2f 70 6c 61 69 6e |Type: te|xt/plain|
|000001c0| 3b 20 63 68 61 72 73 65 | 74 3d 75 73 2d 61 73 63 |; charse|t=us-asc|
|000001d0| 69 69 0a 43 6f 6e 74 65 | 6e 74 2d 54 72 61 6e 73 |ii.Conte|nt-Trans|
|000001e0| 66 65 72 2d 45 6e 63 6f | 64 69 6e 67 3a 20 37 62 |fer-Enco|ding: 7b|
|000001f0| 69 74 0a 58 2d 4d 61 69 | 6c 65 72 3a 20 4d 6f 7a |it.X-Mai|ler: Moz|
|00000200| 69 6c 6c 61 20 32 2e 30 | 62 35 20 28 4d 61 63 69 |illa 2.0|b5 (Maci|
|00000210| 6e 74 6f 73 68 3b 20 49 | 3b 20 36 38 4b 29 0a 54 |ntosh; I|; 68K).T|
|00000220| 6f 3a 20 6b 65 6c 76 69 | 6e 20 3c 54 65 6e 64 72 |o: kelvi|n <Tendr|
|00000230| 69 6c 73 40 6d 73 6e 2e | 63 6f 6d 3e 0a 0a 6b 65 |ils@msn.|com>..ke|
|00000240| 6c 76 69 6e 20 77 72 6f | 74 65 3a 0a 3e 20 0a 3e |lvin wro|te:.> .>|
|00000250| 20 47 65 6e 65 72 61 6c | 6c 79 2c 20 69 74 20 69 | General|ly, it i|
|00000260| 73 20 62 65 73 74 20 74 | 6f 20 70 75 74 20 23 69 |s best t|o put #i|
|00000270| 6e 63 6c 75 64 65 73 20 | 69 6e 20 2e 63 70 70 20 |ncludes |in .cpp |
|00000280| 66 69 6c 65 73 0a 3e 20 | 0a 3e 20 6d 79 5f 64 61 |files.> |.> my_da|
|00000290| 74 61 2e 68 3a 0a 3e 20 | 2d 2d 2d 2d 2d 2d 2d 2d |ta.h:.> |--------|
|000002a0| 2d 2d 0a 3e 20 63 6c 61 | 73 73 20 43 50 69 63 74 |--.> cla|ss CPict|
|000002b0| 75 72 65 3b 20 2f 2f 20 | 66 6f 72 77 61 72 64 20 |ure; // |forward |
|000002c0| 64 65 63 6c 61 72 61 74 | 69 6f 6e 0a 3e 20 0a 3e |declarat|ion.> .>|
|000002d0| 20 63 6c 61 73 73 20 41 | 0a 3e 20 7b 0a 3e 20 2e | class A|.> {.> .|
|000002e0| 2e 0a 3e 20 43 50 69 63 | 74 75 72 65 20 6d 5f 70 |..> CPic|ture m_p|
|000002f0| 69 63 74 75 72 65 3b 0a | 3e 20 2e 2e 2e 0a 3e 20 |icture;.|> ....> |
|00000300| 7d 0a 0a 54 68 65 20 6f | 6e 6c 79 20 70 72 6f 62 |}..The o|nly prob|
|00000310| 6c 65 6d 20 68 65 72 65 | 20 69 73 20 74 68 61 74 |lem here| is that|
|00000320| 20 74 68 65 20 63 6f 6d | 70 69 6c 65 72 20 6e 65 | the com|piler ne|
|00000330| 65 64 73 20 74 6f 20 6b | 6e 6f 77 20 74 68 65 0a |eds to k|now the.|
|00000340| 63 6f 6d 70 6c 65 74 65 | 20 64 65 66 69 6e 69 74 |complete| definit|
|00000350| 69 6f 6e 20 6f 66 20 43 | 50 69 63 74 75 72 65 20 |ion of C|Picture |
|00000360| 69 6e 20 6f 72 64 65 72 | 20 74 6f 20 64 65 74 65 |in order| to dete|
|00000370| 72 6d 69 6e 65 20 68 6f | 77 20 6d 75 63 68 0a 6d |rmine ho|w much.m|
|00000380| 65 6d 6f 72 79 20 74 68 | 65 20 64 61 74 61 20 6d |emory th|e data m|
|00000390| 65 6d 62 65 72 20 6d 5f | 70 69 63 74 75 72 65 20 |ember m_|picture |
|000003a0| 72 65 71 75 69 72 65 73 | 2e 20 20 48 6f 77 65 76 |requires|. Howev|
|000003b0| 65 72 2c 20 74 68 65 20 | 63 6f 64 65 0a 66 72 61 |er, the |code.fra|
|000003c0| 67 6d 65 6e 74 20 61 62 | 6f 76 65 20 77 69 6c 6c |gment ab|ove will|
|000003d0| 20 77 6f 72 6b 20 69 66 | 20 6d 5f 70 69 63 74 75 | work if| m_pictu|
|000003e0| 72 65 20 69 73 20 64 65 | 63 6c 61 72 65 64 20 61 |re is de|clared a|
|000003f0| 73 20 43 50 69 63 74 75 | 72 65 20 2a 0a 6f 72 20 |s CPictu|re *.or |
|00000400| 43 50 69 63 74 75 72 65 | 20 26 2e 20 20 49 6e 20 |CPicture| &. In |
|00000410| 62 6f 74 68 20 6f 66 20 | 74 68 65 73 65 20 63 61 |both of |these ca|
|00000420| 73 65 73 20 74 68 65 20 | 63 6f 6d 70 69 6c 65 72 |ses the |compiler|
|00000430| 20 61 6c 6c 6f 63 61 74 | 65 73 0a 65 6e 6f 75 67 | allocat|es.enoug|
|00000440| 68 20 73 70 61 63 65 20 | 66 6f 72 20 61 20 70 6f |h space |for a po|
|00000450| 69 6e 74 65 72 20 28 77 | 68 69 63 68 20 69 73 20 |inter (w|hich is |
|00000460| 74 68 65 20 73 61 6d 65 | 20 66 6f 72 20 61 6c 6c |the same| for all|
|00000470| 20 70 6f 69 6e 74 65 72 | 73 0a 72 65 67 61 72 64 | pointer|s.regard|
|00000480| 6c 65 73 73 20 6f 66 20 | 74 68 65 20 70 6f 69 6e |less of |the poin|
|00000490| 74 65 72 20 74 79 70 65 | 29 2e 20 20 54 68 65 20 |ter type|). The |
|000004a0| 6f 6e 6c 79 20 64 72 61 | 77 62 61 63 6b 20 74 6f |only dra|wback to|
|000004b0| 20 74 68 69 73 20 69 73 | 0a 68 61 76 69 6e 67 20 | this is|.having |
|000004c0| 74 6f 20 61 6c 6c 6f 63 | 61 74 65 20 61 6e 64 20 |to alloc|ate and |
|000004d0| 64 65 61 6c 6c 6f 63 61 | 74 65 20 6d 65 6d 6f 72 |dealloca|te memor|
|000004e0| 79 20 66 6f 72 20 6d 5f | 70 69 63 74 75 72 65 2e |y for m_|picture.|
|000004f0| 0a 0a 2d 2d 20 0a 20 20 | 20 20 20 20 20 20 20 20 |..-- . | |
|00000500| 20 20 20 20 20 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | --|--------|
|00000510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000520| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 20 20 20 |--------|----. |
|00000530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 22 53 6f | | "So|
|00000540| 20 6c 6f 6e 67 20 61 6e | 64 20 74 68 61 6e 6b 73 | long an|d thanks|
|00000550| 20 66 6f 72 20 61 6c 6c | 20 74 68 65 20 66 69 73 | for all| the fis|
|00000560| 68 21 22 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |h!".. | |
|00000570| 20 20 20 20 20 47 72 65 | 67 20 45 61 74 6f 6e 0a | Gre|g Eaton.|
+--------+-------------------------+-------------------------+--------+--------+